﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net;

namespace iPhOwa.Exchange.WebDav.Methods
{
	internal sealed class Get : Method
	{
		public Get(Uri path, OwaSession session) : base(path, session) { }

		public override string Name
		{
			get { return "GET"; }
		}

		protected override string BuildCommand()
		{
			return null;
		}

		protected override void AddHeaders(System.Net.HttpWebRequest request)
		{
			request.Headers.Add("Translate", "f");
		}

		public WebResponse Run()
		{
			return Execute();
		}
	}
}
